VMX: suppress pointless indirect calls
authorJan Beulich <jbeulich@suse.com>
Wed, 17 Jul 2013 06:48:24 +0000 (08:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Jul 2013 06:48:24 +0000 (08:48 +0200)
commit27815a123ad898bc4f6dd82c62b16188d6f8eef1
tree820e2f6c5b67f443709717f7e50ca8f85c0d067b
parent303066fdb1e4fe816e48acd665453f58b8399e81
VMX: suppress pointless indirect calls

Get the other virtual interrupt delivery related actors in sync
with the newly added handle_eoi() one: Clear the respective pointers
(thus avoiding the call from generic code) when the feature is
unavailable instead of checking feature availability in the actors.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Yang Zhang <yang.z.zhang@intel.com>
xen/arch/x86/hvm/vmx/vmx.c